﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp
{
    /// <summary>
    /// 攻击类型
    /// </summary>
    public enum AttackType
    {
        /// <summary>
        /// 物理攻击
        /// </summary>
        Physical = 1,
        /// <summary>
        /// 魔法攻击
        /// </summary>
        Magic = 2,
        /// <summary>
        /// 独立攻击
        /// </summary>
        Independence = 3
    }
    public class AttackResult
    {
        public AttackType AttackType { get; set; }
        public double AttackValue { get; set; }
        public AttackResult(AttackType type, double value)
        {
            this.AttackType = type;
            this.AttackValue = value;
        }
    }
}
